/**
 *	@file	seal.c
 *	@brief	カスタムボール用　シールデータ関連関数
 *	@author	Miyuki Iwasawa
 *	@date	08.04.11
 */

#include "common.h"
#include "seal/seal.h"

#include "application/custom_ball/data/cb_data_def.h"
#include "wazaeffect/ball_effect_tool.h"

#include "include/msgdata/msg.naix"
#include "include/msgdata/msg_bc_seal_name.h"
#include "include/msgdata/msg_seal_comment.h"

#if 0
typedef struct {
	u8	id;					///< 登録用ID 0 = データ無
	u8	name;				///< 名前
	u8	pal_id;				///< パレット
	u8	pt_id;				///< パーティクルの番号
	u8	type:1;				///< A or B
	u8	price:7;			///< 値段
	u8	comment_id;			///< コメント
} TCB_SEAL_DATA;


/*
	データ
*/
static const TCB_SEAL_DATA Seal_Data[ CB_DEF_ITEM_DATA_NUM ] = {
 { CB_SEAL_00_NCGR_BIN, SEAL_NAME_000, CB_SEAL_NCLR, SPA_P_CB_HART01, 	 CB_SEAL_TYPE_A, 100, seal_01 },	///< ダミー

 { CB_SEAL_01_NCGR_BIN, SEAL_NAME_001,	 CB_SEAL_NCLR, SPA_P_CB_HART01,		CB_SEAL_TYPE_A,  50, seal_01 },
 { CB_SEAL_02_NCGR_BIN, SEAL_NAME_002,	 CB_SEAL_NCLR, SPA_P_CB_HART02,		CB_SEAL_TYPE_A,  50, seal_02 },
 { CB_SEAL_03_NCGR_BIN, SEAL_NAME_003,	 CB_SEAL_NCLR, SPA_P_CB_HART03,		CB_SEAL_TYPE_A,  50, seal_03 },
 { CB_SEAL_04_NCGR_BIN, SEAL_NAME_004,	 CB_SEAL_NCLR, SPA_P_CB_HART04,		CB_SEAL_TYPE_A,  50, seal_04 },
 { CB_SEAL_05_NCGR_BIN, SEAL_NAME_005,	 CB_SEAL_NCLR, SPA_P_CB_HART05,		CB_SEAL_TYPE_A, 100, seal_05 },
 { CB_SEAL_06_NCGR_BIN, SEAL_NAME_006,	 CB_SEAL_NCLR, SPA_P_CB_HART06,		CB_SEAL_TYPE_A, 100, seal_06 },

 { CB_SEAL_08_NCGR_BIN, SEAL_NAME_007,	 CB_SEAL_NCLR, SPA_P_CB_STAR01, 	CB_SEAL_TYPE_A,  50, seal_07 },
 { CB_SEAL_07_NCGR_BIN, SEAL_NAME_008,	 CB_SEAL_NCLR, SPA_P_CB_STAR02, 	CB_SEAL_TYPE_A,  50, seal_08 },
 { CB_SEAL_10_NCGR_BIN, SEAL_NAME_009,	 CB_SEAL_NCLR, SPA_P_CB_STAR03, 	CB_SEAL_TYPE_A,  50, seal_09 },
 { CB_SEAL_09_NCGR_BIN, SEAL_NAME_010,	 CB_SEAL_NCLR, SPA_P_CB_STAR04, 	CB_SEAL_TYPE_A,  50, seal_10 },
 { CB_SEAL_12_NCGR_BIN, SEAL_NAME_011,	 CB_SEAL_NCLR, SPA_P_CB_STAR05, 	CB_SEAL_TYPE_A, 100, seal_11 },
 { CB_SEAL_11_NCGR_BIN, SEAL_NAME_012,	 CB_SEAL_NCLR, SPA_P_CB_STAR06, 	CB_SEAL_TYPE_A, 100, seal_12 },

 { CB_SEAL_13_NCGR_BIN, SEAL_NAME_013,	 CB_SEAL_NCLR, SPA_P_CB_LINE01, 	CB_SEAL_TYPE_A, 100, seal_13 },
 { CB_SEAL_14_NCGR_BIN, SEAL_NAME_014,	 CB_SEAL_NCLR, SPA_P_CB_LINE02,		CB_SEAL_TYPE_A, 100, seal_14 },
 { CB_SEAL_15_NCGR_BIN, SEAL_NAME_015,	 CB_SEAL_NCLR, SPA_P_CB_LINE03,		CB_SEAL_TYPE_A, 100, seal_15 },
 { CB_SEAL_16_NCGR_BIN, SEAL_NAME_016,	 CB_SEAL_NCLR, SPA_P_CB_LINE04,		CB_SEAL_TYPE_A, 100, seal_16 },

 { CB_SEAL_17_NCGR_BIN, SEAL_NAME_017,	 CB_SEAL_NCLR, SPA_P_CB_KEMURI01,	CB_SEAL_TYPE_A, 100, seal_17 },
 { CB_SEAL_18_NCGR_BIN, SEAL_NAME_018,	 CB_SEAL_NCLR, SPA_P_CB_KEMURI02,	CB_SEAL_TYPE_A, 100, seal_18 },
 { CB_SEAL_19_NCGR_BIN, SEAL_NAME_019,	 CB_SEAL_NCLR, SPA_P_CB_KEMURI03,	CB_SEAL_TYPE_A, 100, seal_19 },
 { CB_SEAL_20_NCGR_BIN, SEAL_NAME_020,	 CB_SEAL_NCLR, SPA_P_CB_KEMURI04,	CB_SEAL_TYPE_A, 100, seal_20 },

 { CB_SEAL_21_NCGR_BIN, SEAL_NAME_021,	 CB_SEAL_NCLR, SPA_P_CB_TUNDER01,	CB_SEAL_TYPE_A, 100, seal_21 },
 { CB_SEAL_22_NCGR_BIN, SEAL_NAME_022,	 CB_SEAL_NCLR, SPA_P_CB_TUNDER02,	CB_SEAL_TYPE_A, 100, seal_22 },
 { CB_SEAL_23_NCGR_BIN, SEAL_NAME_023,	 CB_SEAL_NCLR, SPA_P_CB_TUNDER03,	CB_SEAL_TYPE_A, 100, seal_23 },
 { CB_SEAL_24_NCGR_BIN, SEAL_NAME_024,	 CB_SEAL_NCLR, SPA_P_CB_TUNDER04,	CB_SEAL_TYPE_A, 100, seal_24 },

 { CB_SEAL_25_NCGR_BIN, SEAL_NAME_025,	 CB_SEAL_NCLR, SPA_P_CB_BALL01, 	 CB_SEAL_TYPE_A,  50, seal_25 },
 { CB_SEAL_26_NCGR_BIN, SEAL_NAME_026,	 CB_SEAL_NCLR, SPA_P_CB_BALL02, 	 CB_SEAL_TYPE_A,  50, seal_26 },
 { CB_SEAL_27_NCGR_BIN, SEAL_NAME_027,	 CB_SEAL_NCLR, SPA_P_CB_BALL03, 	 CB_SEAL_TYPE_A,  50, seal_27 },
 { CB_SEAL_28_NCGR_BIN, SEAL_NAME_028,	 CB_SEAL_NCLR, SPA_P_CB_BALL04, 	 CB_SEAL_TYPE_A,  50, seal_28 },

 { CB_SEAL_30_NCGR_BIN, SEAL_NAME_029,	 CB_SEAL_NCLR, SPA_P_CB_FIRE01, 	 CB_SEAL_TYPE_A,  50, seal_29 },
 { CB_SEAL_29_NCGR_BIN, SEAL_NAME_030,	 CB_SEAL_NCLR, SPA_P_CB_FIRE02, 	 CB_SEAL_TYPE_A,  50, seal_30 },
 { CB_SEAL_32_NCGR_BIN, SEAL_NAME_031,	 CB_SEAL_NCLR, SPA_P_CB_FIRE03, 	 CB_SEAL_TYPE_A,  50, seal_31 },
 { CB_SEAL_31_NCGR_BIN, SEAL_NAME_032,	 CB_SEAL_NCLR, SPA_P_CB_FIRE04, 	 CB_SEAL_TYPE_A,  50, seal_32 },

 { CB_SEAL_33_NCGR_BIN, SEAL_NAME_033,	 CB_SEAL_NCLR, SPA_P_CB_PAPER01,	 CB_SEAL_TYPE_A,  50, seal_33 },
 { CB_SEAL_34_NCGR_BIN, SEAL_NAME_034,	 CB_SEAL_NCLR, SPA_P_CB_PAPER02,	 CB_SEAL_TYPE_A,  50, seal_34 },
 { CB_SEAL_35_NCGR_BIN, SEAL_NAME_035,	 CB_SEAL_NCLR, SPA_P_CB_PAPER03,	 CB_SEAL_TYPE_A, 100, seal_35 },
 { CB_SEAL_36_NCGR_BIN, SEAL_NAME_036,	 CB_SEAL_NCLR, SPA_P_CB_PAPER04,	 CB_SEAL_TYPE_A, 100, seal_36 },

 { CB_SEAL_37_NCGR_BIN, SEAL_NAME_037,	 CB_SEAL_NCLR, SPA_P_CB_HANA01, 	 CB_SEAL_TYPE_A,  50, seal_37 },
 { CB_SEAL_38_NCGR_BIN, SEAL_NAME_038,	 CB_SEAL_NCLR, SPA_P_CB_HANA02, 	 CB_SEAL_TYPE_A,  50, seal_38 },
 { CB_SEAL_39_NCGR_BIN, SEAL_NAME_039,	 CB_SEAL_NCLR, SPA_P_CB_HANA03, 	 CB_SEAL_TYPE_A,  50, seal_39 },
 { CB_SEAL_40_NCGR_BIN, SEAL_NAME_040,	 CB_SEAL_NCLR, SPA_P_CB_HANA04, 	 CB_SEAL_TYPE_A,  50, seal_40 },
 { CB_SEAL_41_NCGR_BIN, SEAL_NAME_041,	 CB_SEAL_NCLR, SPA_P_CB_HANA05, 	 CB_SEAL_TYPE_A,  50, seal_41 },
 { CB_SEAL_42_NCGR_BIN, SEAL_NAME_042,	 CB_SEAL_NCLR, SPA_P_CB_HANA06, 	 CB_SEAL_TYPE_A,  50, seal_42 },

 { CB_SEAL_43_NCGR_BIN, SEAL_NAME_043,	 CB_SEAL_NCLR, SPA_P_CB_ONPU01, 	 CB_SEAL_TYPE_A,  50, seal_43 },
 { CB_SEAL_44_NCGR_BIN, SEAL_NAME_044,	 CB_SEAL_NCLR, SPA_P_CB_ONPU02, 	 CB_SEAL_TYPE_A,  50, seal_44 },
 { CB_SEAL_45_NCGR_BIN, SEAL_NAME_045,	 CB_SEAL_NCLR, SPA_P_CB_ONPU03, 	 CB_SEAL_TYPE_A,  50, seal_45 },
 { CB_SEAL_46_NCGR_BIN, SEAL_NAME_046,	 CB_SEAL_NCLR, SPA_P_CB_ONPU04, 	 CB_SEAL_TYPE_A,  50, seal_46 },
 { CB_SEAL_47_NCGR_BIN, SEAL_NAME_047,	 CB_SEAL_NCLR, SPA_P_CB_ONPU05, 	 CB_SEAL_TYPE_A,  50, seal_47 },
 { CB_SEAL_48_NCGR_BIN, SEAL_NAME_048,	 CB_SEAL_NCLR, SPA_P_CB_ONPU06, 	 CB_SEAL_TYPE_A,  50, seal_48 },
 { CB_SEAL_49_NCGR_BIN, SEAL_NAME_049,	 CB_SEAL_NCLR, SPA_P_CB_ONPU07, 	 CB_SEAL_TYPE_A,  50, seal_49 },

 { CB_SEAL_50_NCGR_BIN, SEAL_NAME_050,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_A,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_51_NCGR_BIN, SEAL_NAME_051,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_B,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_52_NCGR_BIN, SEAL_NAME_052,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_C,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_53_NCGR_BIN, SEAL_NAME_053,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_D,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_54_NCGR_BIN, SEAL_NAME_054,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_E,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_55_NCGR_BIN, SEAL_NAME_055,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_F,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_56_NCGR_BIN, SEAL_NAME_056,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_G,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_57_NCGR_BIN, SEAL_NAME_057,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_H,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_58_NCGR_BIN, SEAL_NAME_058,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_I,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_59_NCGR_BIN, SEAL_NAME_059,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_J,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_60_NCGR_BIN, SEAL_NAME_060,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_K,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_61_NCGR_BIN, SEAL_NAME_061,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_L,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_62_NCGR_BIN, SEAL_NAME_062,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_M,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_63_NCGR_BIN, SEAL_NAME_063,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_N,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_64_NCGR_BIN, SEAL_NAME_064,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_O,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_65_NCGR_BIN, SEAL_NAME_065,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_P,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_66_NCGR_BIN, SEAL_NAME_066,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_Q,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_67_NCGR_BIN, SEAL_NAME_067,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_R,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_68_NCGR_BIN, SEAL_NAME_068,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_S,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_69_NCGR_BIN, SEAL_NAME_069,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_T,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_70_NCGR_BIN, SEAL_NAME_070,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_U,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_71_NCGR_BIN, SEAL_NAME_071,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_V,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_72_NCGR_BIN, SEAL_NAME_072,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_W,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_73_NCGR_BIN, SEAL_NAME_073,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_X,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_74_NCGR_BIN, SEAL_NAME_074,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_Y,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_75_NCGR_BIN, SEAL_NAME_075,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_Z,	 CB_SEAL_TYPE_B,   0, seal_01 },
 { CB_SEAL_76_NCGR_BIN, SEAL_NAME_076,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_MARK01, CB_SEAL_TYPE_B, 0, seal_01 },
 { CB_SEAL_77_NCGR_BIN, SEAL_NAME_077,	 CB_SEAL_NCLR, SPA_P_CB_ALPHA_MARK02, CB_SEAL_TYPE_B, 0, seal_01 },

 { CB_SEAL_78_NCGR_BIN, SEAL_NAME_078,	 CB_SEAL_NCLR, SPA_P_CB_SP_01,		CB_SEAL_TYPE_A, 0, seal_78 },
 { CB_SEAL_79_NCGR_BIN, SEAL_NAME_079,	 CB_SEAL_NCLR, SPA_P_CB_SP_02,		CB_SEAL_TYPE_A, 0, seal_79 },
 { CB_SEAL_80_NCGR_BIN, SEAL_NAME_080,	 CB_SEAL_NCLR, SPA_P_CB_SP_03,		CB_SEAL_TYPE_A, 0, seal_80 },
};
#else
typedef struct {
	u8	id;					///< 登録用ID 0 = データ無
	u8	name;				///< 名前
	u8	pt_id;				///< パーティクルの番号
	u8	price:2;			///< 値段
	u8	comment_id:6;			///< コメント
} TCB_SEAL_DATA;

/*
	データ
*/
static const TCB_SEAL_DATA Seal_Data[ CB_DEF_ITEM_DATA_NUM ] = {
 { CB_SEAL_00_NCGR_BIN, SEAL_NAME_000, SPA_P_CB_HART01,  1, seal_01 },	///< ダミー

 { CB_SEAL_01_NCGR_BIN, SEAL_NAME_001, SPA_P_CB_HART01,	1, seal_01 },
 { CB_SEAL_02_NCGR_BIN, SEAL_NAME_002, SPA_P_CB_HART02,	1, seal_02 },
 { CB_SEAL_03_NCGR_BIN, SEAL_NAME_003, SPA_P_CB_HART03,	1, seal_03 },
 { CB_SEAL_04_NCGR_BIN, SEAL_NAME_004, SPA_P_CB_HART04,	1, seal_04 },
 { CB_SEAL_05_NCGR_BIN, SEAL_NAME_005, SPA_P_CB_HART05,	2, seal_05 },
 { CB_SEAL_06_NCGR_BIN, SEAL_NAME_006, SPA_P_CB_HART06,	2, seal_06 },

 { CB_SEAL_08_NCGR_BIN, SEAL_NAME_007, SPA_P_CB_STAR01, 1, seal_07 },
 { CB_SEAL_07_NCGR_BIN, SEAL_NAME_008, SPA_P_CB_STAR02, 1, seal_08 },
 { CB_SEAL_10_NCGR_BIN, SEAL_NAME_009, SPA_P_CB_STAR03, 1, seal_09 },
 { CB_SEAL_09_NCGR_BIN, SEAL_NAME_010, SPA_P_CB_STAR04, 1, seal_10 },
 { CB_SEAL_12_NCGR_BIN, SEAL_NAME_011, SPA_P_CB_STAR05, 2, seal_11 },
 { CB_SEAL_11_NCGR_BIN, SEAL_NAME_012, SPA_P_CB_STAR06, 2, seal_12 },

 { CB_SEAL_13_NCGR_BIN, SEAL_NAME_013, SPA_P_CB_LINE01,	2, seal_13 },
 { CB_SEAL_14_NCGR_BIN, SEAL_NAME_014, SPA_P_CB_LINE02,	2, seal_14 },
 { CB_SEAL_15_NCGR_BIN, SEAL_NAME_015, SPA_P_CB_LINE03,	2, seal_15 },
 { CB_SEAL_16_NCGR_BIN, SEAL_NAME_016, SPA_P_CB_LINE04,	2, seal_16 },

 { CB_SEAL_17_NCGR_BIN, SEAL_NAME_017, SPA_P_CB_KEMURI01, 2, seal_17 },
 { CB_SEAL_18_NCGR_BIN, SEAL_NAME_018, SPA_P_CB_KEMURI02, 2, seal_18 },
 { CB_SEAL_19_NCGR_BIN, SEAL_NAME_019, SPA_P_CB_KEMURI03, 2, seal_19 },
 { CB_SEAL_20_NCGR_BIN, SEAL_NAME_020, SPA_P_CB_KEMURI04, 2, seal_20 },

 { CB_SEAL_21_NCGR_BIN, SEAL_NAME_021, SPA_P_CB_TUNDER01, 2, seal_21 },
 { CB_SEAL_22_NCGR_BIN, SEAL_NAME_022, SPA_P_CB_TUNDER02, 2, seal_22 },
 { CB_SEAL_23_NCGR_BIN, SEAL_NAME_023, SPA_P_CB_TUNDER03, 2, seal_23 },
 { CB_SEAL_24_NCGR_BIN, SEAL_NAME_024, SPA_P_CB_TUNDER04, 2, seal_24 },

 { CB_SEAL_25_NCGR_BIN, SEAL_NAME_025, SPA_P_CB_BALL01,   1, seal_25 },
 { CB_SEAL_26_NCGR_BIN, SEAL_NAME_026, SPA_P_CB_BALL02,   1, seal_26 },
 { CB_SEAL_27_NCGR_BIN, SEAL_NAME_027, SPA_P_CB_BALL03,   1, seal_27 },
 { CB_SEAL_28_NCGR_BIN, SEAL_NAME_028, SPA_P_CB_BALL04,   1, seal_28 },

 { CB_SEAL_29_NCGR_BIN, SEAL_NAME_029, SPA_P_CB_FIRE01,   1, seal_29 },
 { CB_SEAL_30_NCGR_BIN, SEAL_NAME_030, SPA_P_CB_FIRE02,   1, seal_30 },
 { CB_SEAL_31_NCGR_BIN, SEAL_NAME_031, SPA_P_CB_FIRE03,   1, seal_31 },
 { CB_SEAL_32_NCGR_BIN, SEAL_NAME_032, SPA_P_CB_FIRE04,   1, seal_32 },

 { CB_SEAL_33_NCGR_BIN, SEAL_NAME_033, SPA_P_CB_PAPER01,  1, seal_33 },
 { CB_SEAL_34_NCGR_BIN, SEAL_NAME_034, SPA_P_CB_PAPER02,  1, seal_34 },
 { CB_SEAL_35_NCGR_BIN, SEAL_NAME_035, SPA_P_CB_PAPER03,  2, seal_35 },
 { CB_SEAL_36_NCGR_BIN, SEAL_NAME_036, SPA_P_CB_PAPER04,  2, seal_36 },

 { CB_SEAL_37_NCGR_BIN, SEAL_NAME_037, SPA_P_CB_HANA01,   1, seal_37 },
 { CB_SEAL_38_NCGR_BIN, SEAL_NAME_038, SPA_P_CB_HANA02,   1, seal_38 },
 { CB_SEAL_39_NCGR_BIN, SEAL_NAME_039, SPA_P_CB_HANA03,   1, seal_39 },
 { CB_SEAL_40_NCGR_BIN, SEAL_NAME_040, SPA_P_CB_HANA04,   1, seal_40 },
 { CB_SEAL_41_NCGR_BIN, SEAL_NAME_041, SPA_P_CB_HANA05,   1, seal_41 },
 { CB_SEAL_42_NCGR_BIN, SEAL_NAME_042, SPA_P_CB_HANA06,   1, seal_42 },

 { CB_SEAL_43_NCGR_BIN, SEAL_NAME_043, SPA_P_CB_ONPU01,   1, seal_43 },
 { CB_SEAL_44_NCGR_BIN, SEAL_NAME_044, SPA_P_CB_ONPU02,   1, seal_44 },
 { CB_SEAL_45_NCGR_BIN, SEAL_NAME_045, SPA_P_CB_ONPU03,   1, seal_45 },
 { CB_SEAL_46_NCGR_BIN, SEAL_NAME_046, SPA_P_CB_ONPU04,   1, seal_46 },
 { CB_SEAL_47_NCGR_BIN, SEAL_NAME_047, SPA_P_CB_ONPU05,   1, seal_47 },
 { CB_SEAL_48_NCGR_BIN, SEAL_NAME_048, SPA_P_CB_ONPU06,   1, seal_48 },
 { CB_SEAL_49_NCGR_BIN, SEAL_NAME_049, SPA_P_CB_ONPU07,   1, seal_49 },

 { CB_SEAL_50_NCGR_BIN, SEAL_NAME_050, SPA_P_CB_ALPHA_A,   0, seal_01 },
 { CB_SEAL_51_NCGR_BIN, SEAL_NAME_051, SPA_P_CB_ALPHA_B,   0, seal_01 },
 { CB_SEAL_52_NCGR_BIN, SEAL_NAME_052, SPA_P_CB_ALPHA_C,   0, seal_01 },
 { CB_SEAL_53_NCGR_BIN, SEAL_NAME_053, SPA_P_CB_ALPHA_D,   0, seal_01 },
 { CB_SEAL_54_NCGR_BIN, SEAL_NAME_054, SPA_P_CB_ALPHA_E,   0, seal_01 },
 { CB_SEAL_55_NCGR_BIN, SEAL_NAME_055, SPA_P_CB_ALPHA_F,   0, seal_01 },
 { CB_SEAL_56_NCGR_BIN, SEAL_NAME_056, SPA_P_CB_ALPHA_G,   0, seal_01 },
 { CB_SEAL_57_NCGR_BIN, SEAL_NAME_057, SPA_P_CB_ALPHA_H,   0, seal_01 },
 { CB_SEAL_58_NCGR_BIN, SEAL_NAME_058, SPA_P_CB_ALPHA_I,   0, seal_01 },
 { CB_SEAL_59_NCGR_BIN, SEAL_NAME_059, SPA_P_CB_ALPHA_J,   0, seal_01 },
 { CB_SEAL_60_NCGR_BIN, SEAL_NAME_060, SPA_P_CB_ALPHA_K,   0, seal_01 },
 { CB_SEAL_61_NCGR_BIN, SEAL_NAME_061, SPA_P_CB_ALPHA_L,   0, seal_01 },
 { CB_SEAL_62_NCGR_BIN, SEAL_NAME_062, SPA_P_CB_ALPHA_M,   0, seal_01 },
 { CB_SEAL_63_NCGR_BIN, SEAL_NAME_063, SPA_P_CB_ALPHA_N,   0, seal_01 },
 { CB_SEAL_64_NCGR_BIN, SEAL_NAME_064, SPA_P_CB_ALPHA_O,   0, seal_01 },
 { CB_SEAL_65_NCGR_BIN, SEAL_NAME_065, SPA_P_CB_ALPHA_P,   0, seal_01 },
 { CB_SEAL_66_NCGR_BIN, SEAL_NAME_066, SPA_P_CB_ALPHA_Q,   0, seal_01 },
 { CB_SEAL_67_NCGR_BIN, SEAL_NAME_067, SPA_P_CB_ALPHA_R,   0, seal_01 },
 { CB_SEAL_68_NCGR_BIN, SEAL_NAME_068, SPA_P_CB_ALPHA_S,   0, seal_01 },
 { CB_SEAL_69_NCGR_BIN, SEAL_NAME_069, SPA_P_CB_ALPHA_T,   0, seal_01 },
 { CB_SEAL_70_NCGR_BIN, SEAL_NAME_070, SPA_P_CB_ALPHA_U,   0, seal_01 },
 { CB_SEAL_71_NCGR_BIN, SEAL_NAME_071, SPA_P_CB_ALPHA_V,   0, seal_01 },
 { CB_SEAL_72_NCGR_BIN, SEAL_NAME_072, SPA_P_CB_ALPHA_W,   0, seal_01 },
 { CB_SEAL_73_NCGR_BIN, SEAL_NAME_073, SPA_P_CB_ALPHA_X,   0, seal_01 },
 { CB_SEAL_74_NCGR_BIN, SEAL_NAME_074, SPA_P_CB_ALPHA_Y,   0, seal_01 },
 { CB_SEAL_75_NCGR_BIN, SEAL_NAME_075, SPA_P_CB_ALPHA_Z,   0, seal_01 },
 { CB_SEAL_76_NCGR_BIN, SEAL_NAME_076, SPA_P_CB_ALPHA_MARK01,  0, seal_01 },
 { CB_SEAL_77_NCGR_BIN, SEAL_NAME_077, SPA_P_CB_ALPHA_MARK02,  0, seal_01 },

 { CB_SEAL_78_NCGR_BIN, SEAL_NAME_078, SPA_P_CB_SP_01,	 0, seal_78 },
 { CB_SEAL_79_NCGR_BIN, SEAL_NAME_079, SPA_P_CB_SP_02,	 0, seal_79 },
 { CB_SEAL_80_NCGR_BIN, SEAL_NAME_080, SPA_P_CB_SP_03,	 0, seal_80 },
};

#endif

#define CB_SEAL_DATA_MAX	(NELEMS(Seal_Data))

//--------------------------------------------------------------
/**
 * @brief	キャラ
 *
 * @param	id
 *
 * @retval	int
 *
 */
//--------------------------------------------------------------
int Seal_CharArcGet(u8 id)
{
	GF_ASSERT(id < CB_SEAL_DATA_MAX);

	return Seal_Data[id].id;
}


//--------------------------------------------------------------
/**
 * @brief	なまえ
 *
 * @param	id
 *
 * @retval	int
 *
 */
//--------------------------------------------------------------
int Seal_NameGet(u8 id)
{
	GF_ASSERT(id < CB_SEAL_DATA_MAX);

	return Seal_Data[id].name;
}


//--------------------------------------------------------------
/**
 * @brief	パーティクル
 *
 * @param	id
 *
 * @retval	int
 *
 */
//--------------------------------------------------------------
int Seal_EffectGet(u8 id)
{
	GF_ASSERT(id < CB_SEAL_DATA_MAX);

	return Seal_Data[id].pt_id;
}


//--------------------------------------------------------------
/**
 * @brief	タイプ
 *
 * @param	id
 *
 * @retval	int
 *
 */
//--------------------------------------------------------------
int Seal_TypeGet(u8 id)
{
	GF_ASSERT(id < CB_SEAL_DATA_MAX);

	if(id < SEAL_ID_ALPHA_A || id > SEAL_ID_ALPHA_MARK_2){
		return CB_SEAL_TYPE_A;
	}
	return CB_SEAL_TYPE_B;	//アンノーンシール
}


//--------------------------------------------------------------
/**
 * @brief	値段
 *
 * @param	id
 *
 * @retval	none
 *
 */
//--------------------------------------------------------------
int	Seal_PriceGet(u8 id)
{
	GF_ASSERT(id < CB_SEAL_DATA_MAX);

	return Seal_Data[id].price*50;
}


//--------------------------------------------------------------
/**
 * @brief	コメント
 *
 * @param	id
 *
 * @retval	int
 *
 */
//--------------------------------------------------------------
int Seal_CommentGet(u8 id)
{
	GF_ASSERT(id < CB_SEAL_DATA_MAX);

	return Seal_Data[id].comment_id;
}

